var express = require("express");
var router = express.Router();

var {
  deleteErrors,
  getErrors,
  createErrors
} = require("../controllers/errorControllers");

// 错题删除
router.post("/deleteErrors", deleteErrors);
//错题获取所有数据接口
router.post("/getErrors", getErrors);
//添加错误题目
router.post("/createErrors", createErrors);

module.exports = router;
